package com.evildog.workspace.common.result;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@Data@Accessors(chain = true)
public class PagedResult<T> {

    /**
     * 记录总行数
     */
    private Long total;

    /**
     * 返回数据
     */
    private List<T> records;
}
